import { IFeidaoAiNodejsComponent } from '@dfeidao/atom-nodejs/interfaces';
import nodejs from '@dfeidao/atom-nodejs/msg/nodejs';
import render from '@dfeidao/atom-nodejs/render/render';
import p001 from "./p001";
import p002 from './p002';

export default async function na001(fd: IFeidaoAiNodejsComponent) {
	// todo
	const res = await nodejs(fd.data.actionid, fd.data.sessionid, 'wangju/zj-000001/s001', {

		plan_list_name: '',
		page_no: 1,
		filter: {
			plan_cla_attr_no: '',
			plan_type_no: '',
		}
	});
	console.log(res);
	render(fd.data.node, res, p002, 'p002');
	render(fd.data.node, res, p001, 'p001');


}
